# 电影票 　有家电影院根据观众的年龄收取不同的票价：
# 不到3岁的观众免费；3～12岁的观众收费10美元；超过12岁的观众收费15美元。
# 请编写一个循环，在其中询问用户的年龄，并指出其票价。

prompt = "\nTell me how old you are?"
prompt += "\nEnter 'quit' to end the program: "

age = ""
while age != 'quit':
	age = input(prompt)
	
	if age != 'quit':
		age = int(age)
		if age <= 3:
			print("You are free to see a movie!")
		elif age <= 12:
			print("You need to pay $10 for your ticket.")
		else:
			print("You need to pay $15 for your ticket.")
